<ion-header>
  <ion-navbar>
    <ion-buttons>
      <button ion-button (click)="closeModal()">关闭</button>
    </ion-buttons>
    <ion-title>批量删除模拟情景</ion-title>
    <ion-buttons end>
      <button ion-button (click)="completeModal()">删除</button>
    </ion-buttons>
  </ion-navbar>
  <ion-list *ngIf="!isNoMoreData && dataList && dataList.length > 0">
    <ion-item>
      <ion-label>全选</ion-label>
      <ion-checkbox [(ngModel)]="isSelectAll" (ionChange)="selectAll()"></ion-checkbox>
    </ion-item>
  </ion-list>
</ion-header>
<ion-content>
  <ion-item-divider *ngIf="isNoMoreData" class='list-no-more-tips' color="light" [hidden]="isLoadMore">暂无更多数据...
  </ion-item-divider>
  <ion-list *ngIf="!isNoMoreData && dataList && dataList.length > 0">
    <ion-item>
      &nbsp;
    </ion-item>
    <div *ngFor="let data of dataList">
      <ion-item *ngIf="data.l_plan_no != '0'">
        <ion-label style="white-space: pre-wrap;">{{data.vc_plan_name}}</ion-label>
        <ion-checkbox [(ngModel)]="data.selected"></ion-checkbox>
      </ion-item>
    </div>
  </ion-list>
</ion-content>
